package com.ihy.service;


import com.ihy.domain.User;
import com.ihy.vo.ResultResponse;

import java.util.List;

/**
 * 用户信息表业务层接口
 */
public interface ServiceUser {
    //增加 删除 修改 查询
    User insert(User user);

    void delete(User user);

    User update(User user);

    List<User> query();

    User query(User user);

    User getByPhone(String phone);

    ResultResponse getMessage(String phone, User phoneData);

    ResultResponse isMessage(String phoneCode, String code, User phoneData, String password, String userPassword);
}